/*
 * BoxOfficeDBException.java
 * Created on November 2, 2006, 2:49 PM
 *
 */

package beans;

/**
 * Thrown by methods in the BoxOfficeDB class
 *
 * @author Dale Shpak
 */
public class ShopDBException extends java.sql.SQLException{
    
    /**
     * Creates a new instance of BoxOfficeDBException 
     *
     * @param message Informative message
     */
    public ShopDBException(String message) {
        super (message);
    }
    
    /**
     * Creates a new instance of BoxOfficeDBException and includes
     * info from a preceding SQLException
     *
     * @param message Informative message
     * @param e Preceding SQLException
     */
    public ShopDBException(String message, java.sql.SQLException e) {
        super (message, e.getSQLState());
    }
    
}